package com.ladlee.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/**
 * @Auther: dingchang
 * @Date: 2018/12/26 16:54
 * @Description: spring + redis + Session配置
 */
@Configuration
@EnableRedisHttpSession(maxInactiveIntervalInSeconds = 600) //session过期时间(秒)
public class RedisSessionConfig {

}
